# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=mkdocs-bootswatch
pkgver=1.1
pkgrel=5
pkgdesc="bootswatch themes for mkdocs"
url="http://mkdocs.org"
arch="noarch"
license="BSD-2-Clause"
depends="python3"
makedepends="py3-setuptools py3-gpep517"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/m/mkdocs-bootswatch/mkdocs-bootswatch-$pkgver.tar.gz"
options="!check" # No tests.

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	gpep517 install-wheel --destdir "$pkgdir" \
		.dist/*.whl
}

sha512sums="
0bf2ce1787438d76bc0ccbabac6e192bcb3f596f33b0637928de3457395ad88193df51ba0f720d736d74418c8725dcfb58a717b577f752d45c70320f7a10592a  mkdocs-bootswatch-1.1.tar.gz
"
